package com.hzbank.generate.mapper;

import com.hzbank.generate.entity.AccountDetails;
import com.hzbank.generate.entity.vo.DetailList;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AccountDetailsMapper {

    int countDetails();
    int insert(AccountDetails details);
    List<AccountDetails> selectDetailsByPrimaryKey(String tranSeq);
    //交易明细列表查询
    List<AccountDetails> list1(DetailList detailList);
    //交易明细详情查询
    List<AccountDetails> list2(AccountDetails details);
    //机构发生额排行榜
    List<AccountDetails> selectAreaListByDate(@Param("dateStart") String dateStart,@Param("dateEnd") String dateEnd);

}
